package util.oma;

/**
 * @see #APPROXIMATE_USING_FIELDS
 * @see #APPROXIMATE_USING_SETTERS
 * @see #TRANSIENT
 * @author Mykhaylo Adamovych
 */
public enum Modifier {
    /**
     * Applicable to classes.<br>
     * Default one. It is optional to set this explicitly.
     * 
     * @see #APPROXIMATE_USING_SETTERS
     */
    APPROXIMATE_USING_FIELDS,
    /**
     * Applicable to classes.<br>
     * Chose this one if you deal with JPA entities.<br>
     * Default one is {@link #APPROXIMATE_USING_FIELDS}
     * 
     * @see <a href="http://stackoverflow.com/questions/1092148/updating-jpa-entity-with-reflection-does-not-work">Updating JPA entity with reflection</a>
     */
    APPROXIMATE_USING_SETTERS,
    /**
     * Applicable to members.<br>
     * To skip member processing.
     */
    TRANSIENT
}
